<?php

namespace addons\podunk\validate\api;


use addons\podunk\validate\Base;
use think\Validate;

class Cloud extends Base
{

    /**
     * 验证规则
     */
    protected $rule = [
        'identity'   => 'require',
        'uid'=> 'require',
        'device_id' => 'require',
    ];

    /**
     * 提示消息
     */
    protected $message = [

    ];

    /**
     * 字段描述
     */
    protected $field = [

    ];

    /**
     * 验证场景
     */
    protected $scene = [
        'getTask' => ['identity','uid','device_id'],
        'auth'  => ['identity']
    ];

}
